GDK W32: Draw snap indicators for AeroSnap
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sat, 12 Mar 2016 16:26:19 +0000 (16:26 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 30 Mar 2016 09:03:41 +0000 (09:03 +0000)
commitb0131616b259449d7478b1552f9370443aa28eab
tree4d0a7b007ec1159a99583f0be826cc992b158b2a
parentb420c53773ca5119afb43f0f351cb8f33c2bcaf9
GDK W32: Draw snap indicators for AeroSnap

Indicator is a bare layered click-through native window,
painted completely by GDK, including animation.

This commit also isolates some of the more spam-ish debug logging
under ifdef.

This commit also changes the system metric used for maximal window
height for the snapping purposes. Turns out, SM_CYMAXTRACK is way
too large, use SM_CYVIRTUALSCREEN instead.

https://bugzilla.gnome.org/show_bug.cgi?id=763013
gdk/win32/gdkwindow-win32.c
gdk/win32/gdkwindow-win32.h